package com.horse.cloud.member.account;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * @create : Created by intelliJ IDEA 17.2
 * @author : bing.Pan
 * @e-mail : 15923508369@163.com
 * @gmdate : 10 20 2017 17:57
 * @sidesc :
 */
@ComponentScan({"com.horse.cloud"})
@SpringBootApplication
@EnableDiscoveryClient
@EnableCircuitBreaker
@ServletComponentScan(value = "com.horse.cloud")
public class MemberAccountApplication {

    public static void main(String[] args){
        new SpringApplicationBuilder(MemberAccountApplication.class).web(true).run(args);
    }
}
